import { ARecord } from "./CdnARecord";
import { CdnNode } from "./CdnNode";

export interface CdnConfig {
  id: number;
  domain: string;
  originIp: string;
  ifDeploy?: boolean;      // 后端返回字段
  deployStatus?: string;   // 前端显示状态
  fullchain?: string; // 新增
  privkey?: string;   // 新增
  nodes?: CdnNode[]; // 关联的CDN节点
  cname?: ARecord;
  cert_apply_time?: string; // 证书申请时间
}